<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<style>
	.logo{
		float: left;
	    color: #fff;
	    font-size: 20px;
	    letter-spacing: 3px;
	    line-height: 30px;
	    margin-left: -123px;
	    width: 265px;
    }
    
    a {color:#fff}

</style>
<div class="head">
	<div class="head_cont clearfix">
		
		<!-- 标题logo -->
		
		<span class='logo'>实验室预约管理系统</span>
		
		<ul class="fl ml20 head_nav">
			<li><a href="${basePath}" class="onselect">首页</a></li>
			<li><a href="${basePath}/front/detail.jsp?id=7">关于我们</a></li>
			<li><a href="${basePath}/front/detail.jsp?id=8">联系我们</a></li>
		</ul>
		
			<ul class="fr head_login">
				<c:choose>
					<c:when  test="${empty sessionScope.username}">
						<li><a style='color:#fff' href="${basePath}/front/reg.jsp">注册</a></li>
						<li style='color:#fff'>|</li>
						<li><a style='color:#fff' href="${basePath}/front/loginFront.jsp">登录</a></li>
					</c:when>
					<c:otherwise>
						<li style='color:#fff'>&nbsp;&nbsp;${sessionScope.username}&nbsp;&nbsp;<a style='color:#fff' href="${basePath}/user/logout.do">退出</a></li>
					</c:otherwise>
				</c:choose>
			</ul>
		
		
	</div>
</div>